package com.ly.gof.structure.bridge;

/**
 * @author liuyang
 * @des
 * @Version 1.0
 * @Date: 23/07/2021 10:39
 */
//抽象化（Abstraction）角色：定义抽象类，并包含一个对实现化对象的引用。
public abstract class Abstraction {
    protected Implementor imple;

    protected Abstraction(Implementor imple) {
        this.imple = imple;
    }

    public abstract void operation();
}